Skip to content

Pin Immich to a newer nixpkgs rev for v3.0.2 - #28

Merged
phonkd merged 1 commit into
mainfrom
immich-3-0-2
Jul 13, 2026
Merged

Pin Immich to a newer nixpkgs rev for v3.0.2#28
phonkd merged 1 commit into
mainfrom
immich-3-0-2

Conversation

@phonkd

@phonkd phonkd commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Both nixpkgs-26.05 and the currently-locked nixpkgs-unstable only package Immich 2.7.5. Add a narrow nixpkgs-immich input pinned to a nixos-unstable rev that has 3.0.2, and point services.immich.package at it -- scoped to just this one package so it doesn't bump anything else that already depends on nixpkgs-unstable (open-webui on 201).

Both nixpkgs-26.05 and the currently-locked nixpkgs-unstable only
package Immich 2.7.5. Add a narrow nixpkgs-immich input pinned to a
nixos-unstable rev that has 3.0.2, and point services.immich.package
at it -- scoped to just this one package so it doesn't bump anything
else that already depends on nixpkgs-unstable (open-webui on 201).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 13, 2026 20:17
@phonkd
phonkd merged commit 72358cd into main Jul 13, 2026
2 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Pins Immich to a newer nixpkgs revision (via a dedicated nixpkgs-immich flake input) so the homelab can run Immich v3.0.2 without bumping other packages that currently depend on the existing nixpkgs / nixpkgs-unstable pins.

Changes:

  • Add a new flake input nixpkgs-immich pinned to a specific nixos/nixpkgs revision.
  • Point services.immich.package to inputs.nixpkgs-immich.legacyPackages.${pkgs.system}.immich to source only the Immich package from that pin.
  • Update flake.lock to record and wire the new input.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

File Description
modules/homelab/apps/immich.nix Overrides services.immich.package to use Immich from the dedicated pinned nixpkgs input.
flake.nix Introduces the nixpkgs-immich input pinned to a specific nixpkgs revision for Immich 3.0.2.
flake.lock Locks the new nixpkgs-immich input and adds it to the root inputs graph.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants